<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">

<h:head>
<ui:include src="topo.xhtml"></ui:include>
<script src="js/jquery-1.5.2.min.js"></script>
    <script type="text/javascript" src="../js/ajax.js"></script>
	<script  src="../js/jquery.maskedinput-1.3.min.js"></script>
	<script src="../js/script_cadastro.js"></script>


<link href="../css/style.css" rel="stylesheet" type="text/css" />
<link href="../css/style_cadastro_curso.css" rel="stylesheet" type="text/css" />
<link href="../css/style_cadastro_professor.css" rel="stylesheet" type="text/css" />

	<script type="text/javascript">
		function start() {
			statusDialog.show();
		}

		function stop() {
			statusDialog.hide();
		}
	</script>




</h:head>
<h:body>
<h:panelGroup rendered="#{gerenciador_equipamento.usuario.permicao== 'administrador'}">
<div class="conteudo">
      <h:form id="form">
		<div class="conteudo_limite">
        <p:growl showDetail="true"></p:growl>
			<div class="titulo">

				<img alt="" src="../css/img/icon_cursos.png" />

				<p>Bloco / Novo</p>

				<div class="clr"></div>

			</div>

			<ul class="botoes_cadastro">
			    <li id="link_cancel"><h:commandButton  styleClass="ajustaBotao" onclick="limparFormulario('form');"  type="button"  action="#{gerenciador_bloco.limpar}" image="../css/img/icon_cancel.png"/> <h:outputLabel value="Cancelar"/></li>
				<li id="link_save"><h:commandButton  styleClass="ajustaBotao" action="#{gerenciador_bloco.salvarESair}"  type="submit" image="../css/img/icon_save_01.png"/> <h:outputLabel value="Salvar e Sair"/></li>
				<li id="link_save2"><h:commandButton  styleClass="ajustaBotao" action="#{gerenciador_bloco.salvar}" type="submit" image="../css/img/icon_save_new.png"/> <h:outputLabel value="Salvar"/></li>		
			</ul>

			<div class="clr"></div>

		</div>
		<div class="conteudo_limite">
			
			
			<div class="left_conteudo_limite">

				<h3>Informações Gerais</h3>
                   
                 <div class="cadastro_professor form">
                 
                 
                   	<strong> <h:outputLabel value="Nome :" styleClass="wh30pc"/></strong>
                 
					
					<div class="clr"></div>
                    
					<h:inputText value="#{gerenciador_bloco.nome}" styleClass="wh26pc" onkeypress="return VerificaNomeProprio(event);" />
					
                    <div class="clr"></div>
                    <strong><h:outputLabel value="Descrição :" styleClass="wh30pc"/></strong>
                    <div class="clr"></div>
                    <h:inputTextarea value="#{gerenciador_bloco.descricao}" id="campoCpf" styleClass="wh50pc"  />
                    <div class="clr"></div>
                                        
                    <br></br>
                    <br />
                    
                   

					</div>
					
						</div>
						<div class="clr"></div>
				<br />
		</div>
		</h:form>
		</div>
		</h:panelGroup>
</h:body>
<ui:include src="rodape.xhtml"></ui:include>
</html>
